package cn.darkhorse.workorder.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@TableName("qms_sign_log")
@Data
@ApiModel(value = "QmsSignLog", description = "签名使用记录")
public class QmsSignLog {

    private Long id;
    /** 创建时间 */
    @ApiModelProperty(" 创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 创建人 */
    @ApiModelProperty(" 创建人")
    private String createBy;

    /** 创建人id */
    @ApiModelProperty(" 创建人id")
    @Excel(name = "创建人id")
    private Long createById;


    /** 创建人id */
    @ApiModelProperty(" 签名id")
    @Excel(name = "签名id")
    private Long signId;
    @ApiModelProperty(" 签名图片")
//    @Excel(name = "签名图片" , cellType = Excel.ColumnType.IMAGE)
    private String signPic;

    /** 签名图片 */
    @ApiModelProperty(" 签名图片")
    @Excel(name = "签名图片" , cellType = Excel.ColumnType.IMAGE,height = 30)
    private String signPicUrl;
    /** 创建人id */
    @ApiModelProperty(" 何处使用")
    @Excel(name = "何处使用")
    private String useWhere;

    private int orderStatus;

    @ApiModelProperty(" 流转单号")
    @Excel(name = "流转单号")
    private String useOrderNumber;

    @TableField(exist = false)
    private String signColumnName;
    @TableField(exist = false)
    private String password;
    @TableField(exist = false)
    private String entityId;
}
